#include <stdio.h>
	int num(int day)
	{
		if(day==10)return 1;
		else return (num(day+1)+1)*2;
	}
int main()
{
	printf("%d",num(1));
	return 0;
}
